import App from '../App'
import Home from '../views/Home'
import About from '../views/Page3/Page301'
import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom'

const baseRouter = () => {
  return (
    <BrowserRouter>
      <Routes>
        <Route path="/" element={<App />}>
          <Route path="/" element={<Navigate to="/home" />} />
          <Route path="/home" element={<Home />} />
          <Route path="/about" element={<About />} />
        </Route>
      </Routes>
    </BrowserRouter>
  )
}

export default baseRouter
